<?php

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/

// Route::get('/', 'User\OAuth2Controller@login')->name('index');
// Route::get('/login', 'User\OAuth2Controller@login')->name('login');
// Route::post('/uc/logout', 'User\OAuth2Controller@uclogout')->name('uc.logout');
// Route::get('/uc/logined', 'User\OAuth2Controller@logined')->name('uc.logined');


// Route::group([
//     'middleware' => 'user:page'
// ], function(){
//     Route::get('/index', 'Main\IndexController@index');
//     Route::post('/logout', 'User\OAuth2Controller@logout')->name('logout');
// });
